package com.x.erp.model;

import java.util.Date;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

@MappingTable(tableName = "ERP_GATE")
public class Gate extends BaseObject {

	private static final long serialVersionUID = -8299585155158290302L;

	@MappingColumn(columnName = "GATE_ID", columnPk = true, columnLength = 32)
	private String gateId;// 道闸ID

	@MappingColumn(columnName = "GATE_CODE")
	private String gateCode;// 道闸编号

	@MappingColumn(columnName = "GATE_NAME")
	private String gateName;// 道闸名称

	@MappingColumn(columnName = "MARKET_ID")
	private String marketId;// 市场ID

	@MappingTable(tableName = "ERP_MARKET")
	private Market market;// 市场

	@MappingColumn(columnName = "GATE_CREATE_TIME")
	private Date gateCreateTime;//创建时间

	public String getGateId() {
		return gateId;
	}

	public void setGateId(String gateId) {
		this.gateId = gateId;
	}

	public String getGateCode() {
		return gateCode;
	}

	public void setGateCode(String gateCode) {
		this.gateCode = gateCode;
	}

	public String getGateName() {
		return gateName;
	}

	public void setGateName(String gateName) {
		this.gateName = gateName;
	}

	public String getMarketId() {
		return marketId;
	}

	public void setMarketId(String marketId) {
		this.marketId = marketId;
	}

	public Market getMarket() {
		return market;
	}

	public void setMarket(Market market) {
		this.market = market;
	}

	public Date getGateCreateTime() {
		return gateCreateTime;
	}

	public void setGateCreateTime(Date gateCreateTime) {
		this.gateCreateTime = gateCreateTime;
	}

	
}
